# # 包含中文的判定
# str = "你好"
# print(str.isalpha())
# print(str.encode("utf-8").isalpha())
#
# str = "abc你好123"
# print(str.isalnum())
# print(str.encode("utf-8").isalnum())
#
# # 判定str是否是有效的python标识符
# print("if".isidentifier())
# print("def".isidentifier())
# print("class".isidentifier())
# print("_a".isidentifier())
# print("中国123a".isidentifier())
# print("123".isidentifier())
# print("3a".isidentifier())
# print("".isidentifier())

# # encode decode
# u = "中文"
#
# gb_2312 = u.encode("gb2312")
# print(gb_2312)
#
# gbk = u.encode("gbk")
# print(gbk)
#
# utf8 = u.encode("utf-8")
# print(utf8)
#
# print(gb_2312.decode("gb2312"))
#
# print(gbk.decode("gbk"))
#
# print(utf8.decode("utf-8"))

# T = ("Python", "世界上", "语言", "最好的")
# print(",".join(T))

# 输出身份证号里面的生日字符串
print("230523198510014439"[6:14])
